<?php
namespace Home\Controller;
use Think\Controller;
class LogController extends CommonController {
    public function index(){

    	$sql ="select * from log order  by create_time desc";

        $data = M()->query($sql);


        var_dump($data);
    }
}